import service from "@/utils/fetch";
const post = {
  //订单商品列表
  saleSku_list(params) {
    return service({
      method: "get",
      params,
      url: "/api/saleSku",
    });
  },

  //   订单商品表：回复评论
  commentReply(params) {
    return service({
      method: "post",
      data:params,
      url: "/api/sale/commentReply",
    });
  },

  //查询商品表分页
  sku_list(params) {
    return service({
      method: "get",
      params,
      url: "/api/sku/",
    });
  },

  //   订单商品表：删除评论
  deleteComment(id) {
    return service({
      method: "delete",
      url: `/api/sale/comment/${id}`,
    });
  },
};
export default post;
